<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/slider.css">
    <script src="../jquery-3.4.1.js"></script>
    <script src="../MISlider.js"></script>
</head>

<body>
    <div class="box">
        <div class="left">
            <img src="./img/Snip20191231_53.png">
        </div>
        <div class="right"></div>
    </div>
</body>

<script>
    $(()=>{
        $.ajax({
            type: "get",
            url: "../server/getdataMI.php",
            dataType: "json",
            success: function (data) {
                let slider = new Slider(data).init();
                // console.log(data);
            }
        });
    })
</script>
</html>